<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>变形</title>
  </head>
  <style>
    * {
      padding: 0;
      margin: 0;
    }
    .box {
      width: 100px;
      height: 100px;
      background: pink;
      margin: 100px;
      padding: 10px;
      border: 1px solid #000;
      transform: rotate(20deg);
      /* transition: all 3s; */
      /* transform: scale3d(1.1, 1.2, 2); */
      /* transform: scale(1.1, 1.2); */
      /* transform: scale(110%); */
      /* transform: translate(10%, 10px); */
    }
    .box:hover {
      /* background: skyblue; */
      /* transform: translateX(200px); */

      /* animation: heartbeat 1s infinite; */
    }
  </style>
  <body>
    <div class="box"></div>
  </body>
  <script>
    // function click(event) {
    //   console.log("1111", 1111);
    // }
    let box = document.querySelector(".box");
    window.box = box.style;
    console.log("box", box);
  </script>
</html>
